package com.hdyg.sixg.entry;

import java.util.List;

/**
 * @author CZB
 * @describe 挂售实体类
 * @time 2019/4/12 14:19
 */
public class OrderBean {

    /**
     * total : 2
     * list : [{"orderid":"14","phone":"17061701544","amount":"100.0000","sell_amount":0,"rest_amount":"100.0000","single_price":"0.5000"},{"orderid":"13","phone":"17061701544","amount":"100.0000","sell_amount":0,"rest_amount":"100.0000","single_price":"0.5000"},{"orderid":"12","phone":"17061701544","amount":"100.0000","sell_amount":0,"rest_amount":"100.0000","single_price":"1.0000"}]
     */

    private int total;
    private List<ListBean> list;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * orderid : 14
         * phone : 17061701544
         * amount : 100.0000
         * sell_amount : 0
         * rest_amount : 100.0000
         * single_price : 0.5000
         */
    //全部挂售
        private String orderid; //订单ID
        private String phone;   //手机号码
        private String amount;  //总量
        private String sell_amount; //已卖数量
        private String rest_amount; //剩余数量
        private String single_price;//估值
    //我的挂售
        private String id;          //出售ID
        private String status;      //订单状态 1：已下架 2：未下架
    //我的购买/我的出售
        private String price;       //估值
        private String total_price; //总估值
        private String pay_status;  //状态

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getTotal_price() {
            return total_price;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public String getPay_status() {
            return pay_status;
        }

        public void setPay_status(String pay_status) {
            this.pay_status = pay_status;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getOrderid() {
            return orderid;
        }

        public void setOrderid(String orderid) {
            this.orderid = orderid;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getSell_amount() {
            return sell_amount;
        }

        public void setSell_amount(String sell_amount) {
            this.sell_amount = sell_amount;
        }

        public String getRest_amount() {
            return rest_amount;
        }

        public void setRest_amount(String rest_amount) {
            this.rest_amount = rest_amount;
        }

        public String getSingle_price() {
            return single_price;
        }

        public void setSingle_price(String single_price) {
            this.single_price = single_price;
        }
    }
}
